home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
AIncludes
/
RTC.a
< prev
next >
Wrap
Text File
|
1996-05-01
|
2KB
|
82 lines
;
; File: RTC.a
;
; Contains: User-mode API
;
; Version: Technology: System 8
; Release: Universal Interfaces 3.0d3 on Copland DR1
;
; Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
;
; Bugs?: If you find a problem with this file, send the file and version
; information (from above) and the problem description to:
;
; Internet: apple.bugs@applelink.apple.com
; AppleLink: APPLE.BUGS
;
;
IF &TYPE('__RTC__') = 'UNDEFINED' THEN
__RTC__ SET 1
IF &TYPE('__KERNEL__') = 'UNDEFINED' THEN
include 'Kernel.a'
ENDIF
IF &TYPE('__TIMEOBJECTS__') = 'UNDEFINED' THEN
include 'TimeObjects.a'
ENDIF
IF &TYPE('__SYNCHRONIZATION__') = 'UNDEFINED' THEN
include 'Synchronization.a'
ENDIF
IF &TYPE('__IOITERATOR__') = 'UNDEFINED' THEN
include 'IOIterator.a'
ENDIF
IF FOR_SYSTEM8_PREEMPTIVE THEN
kRTCFamilyVersionOne EQU $01
kRTCFamilyCurrentVersion EQU $01
RTCIOIteratorData RECORD 0
IOCI ds IOCommonInfo ; offset: $0 (0)
reserved ds.l 3 ; offset: $14 (20)
sizeof EQU * ; size: $20 (32)
ENDR
;
; extern OSStatus RTCCancelTimer(RTCTimerID timerID)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION RTCCancelTimer
ENDIF
;
; extern OSStatus RTCSetTimer(const KernelNotification *notifier, RTCTimerID *timerID, Nanoseconds nanoseconds)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION RTCSetTimer
ENDIF
;
; extern OSStatus RTCSet(Nanoseconds nanoseconds)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION RTCSet
ENDIF
;
; extern OSStatus RTCGet(Nanoseconds *nanoseconds)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION RTCGet
ENDIF
;
; extern OSStatus RTCGetDeviceData(ByteCount want, ByteCount *got, RTCIOIteratorData *deviceArray)
;
IF GENERATINGCFM THEN
IMPORT_CFM_FUNCTION RTCGetDeviceData
ENDIF
ENDIF
ENDIF ; __RTC__